package com.lc.sell.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 龙晨
 * @since 2022-02-01
 */
@Getter
@Setter
@TableName("dc_order")
@ApiModel(value = "Order对象", description = "")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("订单id")
    @TableId("order_id")
    private String order_no;

    @ApiModelProperty("订单总价")
    @TableField("order_amount")
    private BigDecimal amount;

    @ApiModelProperty("订单状态（0-新下单）")
    @TableField("order_status")
    private Integer orderStatus;

    @ApiModelProperty("支付方式")
    @TableField("pay_status")
    private Integer payStatus;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private String created_at;

    @ApiModelProperty("完成时间")
    @TableField("completed_time")
    private String completed_time;

    @ApiModelProperty("订单类型")
    @TableField("order_type")
    private Integer typeCate;

    @ApiModelProperty("取餐号")
    @TableField("sort_num")
    private String sort_num;

    @ApiModelProperty("订单备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private String userId;

    @ApiModelProperty("店铺id")
    @TableField("mid")
    private String mid;


    @ApiModelProperty("评论状态")
    @TableField("review")
    private Integer review;

}
